package com.happyrecyclingstation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 获取聊天记录
 */
@Data
public class MessageVO {
    private Integer senderId; //发送者id
    private String content; //内容
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime sendTime; //发送时间
}
